package net.csdn.business.common.domain.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class HostDeveloperListDTO {

    private String token;

    @NotNull(message = "页码不能为空")
    @Min(value = 1)
    private Integer pageNum;

    @NotNull(message = "单页条数不能为空")
    @Min(value = 1)
    @Max(value = 100)
    private Integer pageSize;
}
